<?php

class ReplyModel extends RelationModel{

	public function add(){
		$data['share_id'] = $_REQUEST["share_id"];
		$data['uid'] = Session::getLocal('id');
		$data['message'] = $_REQUEST["message"];
		$data['create_time'] = time();
		$data['status'] = 1;
		$result = M("ShareReply")->data($data)->add();
		return $result;
	}
}
?>
